/**
 * Creat with IntelliJ IDEA
 * Description:
 * User:WZW
 * Date:2022-09-07
 * Time:23:02
 */
public class Demo18 {
    public int count = 0;
    synchronized void increase() {
        count++;
    }
    synchronized void increase2() {
        increase();
    }
}
